From 0512d08667aa81ab59357b7a399b12c78d07a092 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Sat, 23 Jun 2018 22:32:20 +0200 Subject: [PATCH] babl: predefine ACEScg and ACES2065-1 BablSpaces --- babl/babl-space.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/babl/babl-space.c b/babl/babl-space.c index d601bb2..6d2415c 100644 --- a/babl/babl-space.c +++ b/babl/babl-space.c @@ -495,6 +495,23 @@ computations of uniform gray axis */ 0.1300, 0.0350, babl_trc("1.8"), NULL, NULL, 1); #endif + + babl_space_from_chromaticities ( + "ACEScg", + 0.32168, 0.33767, + 0.713, 0.293, + 0.165, 0.830, + 0.128, 0.044, + babl_trc("1.0"), NULL, NULL, 1); + + babl_space_from_chromaticities ( + "ACES2065-1", + 0.32168, 0.33767, + 0.7347, 0.2653, + 0.0000, 1.0000, + 0.0001, -0.0770, + babl_trc("1.0"), NULL, NULL, 1); + } void babl_space_to_xyz (const Babl *space, const double *rgb, double *xyz) -- 2.30.2